package TripleTable;

public class ThreeTuple {
    int row;
    int col;
    int weight;

    public ThreeTuple(int row, int col, int weight){
        this.row = row;
        this.col = col;
        this.weight = weight;
    }

    public ThreeTuple(){
        this(0, 0, 0);
    }

    public int getRow(){
        return row;
    }

    public int getCol(){
        return col;
    }

    public int getWeight(){
        return weight;
    }

    public void setRow(int row){
        this.row = row;
    }

    public void setCol(int col){
        this.col = col;
    }

    public void setWeight(int weight){
        this.weight = weight;
    }
}
